package com.xjrsoft.module.visual.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * BI发布权限表
 * </p>
 *
 * @author jobob
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("xjr_visual_releaserelation")
public class XjrVisualReleaseRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键值
     */
    @TableId("F_Id")
    private String id;

    /**
     * BI发布的主键值
     */
    @TableField("F_VisualReleaseId")
    private String visualReleaseId;

    /**
     * 对象分类，1-角色，2-用户
     */
    @TableField("F_Category")
    private Integer category;

    /**
     * 对象主键值
     */
    @TableField("F_ObjectId")
    private String objectId;

    /**
     * 创建时间
     */
    @TableField(value = "F_CreateDate", fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    /**
     * 创建人主键值
     */
    @TableField(value = "F_CreateUserId", fill = FieldFill.INSERT)
    private String createUserId;

    /**
     * 创建人名称
     */
    @TableField(value = "F_CreateUserName", fill = FieldFill.INSERT)
    private String createUserName;
}
